package com.tutu.borrow.entity;

import com.tutu.commons.entity.Book;
import com.tutu.commons.entity.User;
import lombok.Data;

/**
 * @Program: SpringCloud
 * @Description: 借阅实体类
 * @Author: JK.TuTu
 * @Version: 1.0
 * @Create: 2022-12-01 14:11
 **/
@Data
public class Borrow {
    private int id;
    //用户id
    private int uid;
    //图书id
    private int bid;
    //用户实体
    private User user;
    //图书实体
    private Book book;
}
